<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
  <c:if test="${empty user_id}">
    <div id=nickname>Anonymous</div>
    <div id=details>
      <p>You are in readonly mode.<br>
      <c:if test="${empty opera}">
        Sign in with Google Friend Connect using your Google, Yahoo or OpenID account to start writing</p>
      </c:if>
      <c:if test="${not empty opera}">
        You seem to be using Opera browser. Unfortunately it is not supported by Google Friend Connect. We're working
        on other sign in options which will work with Opera, but for now please try using some other browser.</p>
      </c:if>
    </div>
    <c:if test="${empty opera}">
      <div style="text-align: center">
      <table cellpadding=0 cellspacing=0 style="margin: auto">
      <tr><td>
      <div id="signin_button"></div>
      </td></tr>
      </table>
      </div>
    </c:if>
  </c:if>
  <c:if test="${not empty user_id}">
    <div id=nickname><c:out value="${nickname}"/></div>
    <div id=logout><a href="/logout">Sign out</a></div>
  </c:if>

